<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			function Person(myName,myAge){
				Person.prototype.nickName=null;
				Person.prototype.age=null;
				Person.prototype.showInfo=function(){
						return( "我的名字"+this.nickName+"我的年龄"+this.age);
				};
			}
			
			
		</script>
	</body>
</html>
